+2009-01-17 Martin Nordholts <martinn@svn.gnome.org>
+
+ Make babl.h look clean.
+
+ * babl/babl-introspect.h: New installed header for babl_name() and
+ babl_introspect().
+
+ * babl/babl.h: Include it.
+
+ * babl/Makefile.am: Add it.
+
2009-01-17 Martin Nordholts <martinn@svn.gnome.org>
* babl/babl-internal.h: Formating.
--- /dev/null
+/* babl - dynamically extendable universal pixel conversion library.
+ * Copyright (C) 2005-2008, Øyvind Kolås and others.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _BABL_INTROSPECT_H
+#define _BABL_INTROSPECT_H
+
+#ifndef _BABL_H
+#error this file is only to be included by babl.h
+#endif
+
+
+/**
+ * babl_name:
+ *
+ * Return a string decsribing a BablInstance, might work better than
+ * babl->instance.name when a good human readable name is desired.
+ *
+ * Returns: a name describing the instance.
+ */
+const char * babl_name (const Babl *babl);
+
+void babl_introspect (Babl *babl); /* introspect a given BablObject */
+
+
+#endif
#include "babl-macros.h"
#include "babl-main.h"
#include "babl-class.h"
-
-/**
- * babl_name:
- *
- * Return a string decsribing a BablInstance, might work better than
- * babl->instance.name when a good human readable name is desired.
- *
- * Returns: a name describing the instance.
- */
-const char * babl_name (const Babl *babl);
-
-void babl_introspect (Babl *babl); /* introspect a given BablObject */
-
+#include "babl-introspect.h"
#include "babl-version.h"
#include "babl-type.h"
#include "babl-sampling.h"